package com.atguigu.scala.chapter_04

object Scala_03 {
  def main(args: Array[String]) = {
    println(Scala_03.compare(1,2))
  }


  def compare(a: Int, b: Int): Boolean = {
    val result: Boolean = if (a > b) {
      return true
    } else {
      return false
    }
    return result
  }
}
